using System;
using System.Runtime.Serialization;

namespace FormsGenerator.FormsGeneratorException
{
	/// <summary>
	/// Summary description for FormsGeneratorExceptions.
	/// </summary>
	public class PermissionDeniedException : ApplicationException
	{
		public PermissionDeniedException()
		{					
		}

		public PermissionDeniedException(string message): base(message)
		{					
		}

		public PermissionDeniedException(SerializationInfo info, StreamingContext context): base(info, context)
		{
		}	

		public PermissionDeniedException(string message, Exception innerException): base(message, innerException)
		{

		}

	}

    public class ConfigurationException : ApplicationException
    {
        public ConfigurationException()
        {
        }

        public ConfigurationException(string message)
            : base(message)
        {
        }

        public ConfigurationException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public ConfigurationException(string message, Exception innerException)
            : base(message, innerException)
        {

        }

    }
}
